package com.googlecode.maven.plugin.appassembler.launcher.jsw;

import java.util.List;

/**
 * JSW launcher configuration.
 */
public class JswLauncherConfiguration
    {
    private String javaCommand = "java";
    private String javaInitHeapSize;
    private String javaMaxHeapSize;
    private List<String> javaParameters;
    private String pidDir = "$BASEDIR/logs";
    private List<String> jswConfigurationPrologue;
    private List<String> jswConfigurationEpilogue;
    private String jswLogFile = "logs/wrapper.log";
    private String jswLogFileMaxSize = "0";
    private String jswLogFileMaxFiles = "0";
    private String initRunLevels = "2345";
    private String initStartPriority = "99";
    private String initStopPriority = "99";
    private String initUser;

    public String getJavaCommand()
        {
        return javaCommand;
        }

    public void setJavaCommand(String javaCommand)
        {
        this.javaCommand = javaCommand;
        }

    public String getJavaInitHeapSize()
        {
        return javaInitHeapSize;
        }

    public void setJavaInitHeapSize(String javaInitHeapSize)
        {
        this.javaInitHeapSize = javaInitHeapSize;
        }

    public String getJavaMaxHeapSize()
        {
        return javaMaxHeapSize;
        }

    public void setJavaMaxHeapSize(String javaMaxHeapSize)
        {
        this.javaMaxHeapSize = javaMaxHeapSize;
        }

    public List<String> getJavaParameters()
        {
        return javaParameters;
        }

    public void setJavaParameters(List<String> javaParameters)
        {
        this.javaParameters = javaParameters;
        }

    public String getPidDir()
        {
        return pidDir;
        }

    public void setPidDir(String pidDir)
        {
        this.pidDir = pidDir;
        }

    public List<String> getJswConfigurationPrologue()
        {
        return jswConfigurationPrologue;
        }

    public void setJswConfigurationPrologue(
            List<String> jswConfigurationPrologue)
        {
        this.jswConfigurationPrologue = jswConfigurationPrologue;
        }

    public List<String> getJswConfigurationEpilogue()
        {
        return jswConfigurationEpilogue;
        }

    public void setJswConfigurationEpilogue(
            List<String> jswConfigurationEpilogue)
        {
        this.jswConfigurationEpilogue = jswConfigurationEpilogue;
        }

    public String getJswLogFile()
        {
        return jswLogFile;
        }

    public void setJswLogFile(String jswLogFile)
        {
        this.jswLogFile = jswLogFile;
        }

    public String getJswLogFileMaxSize()
        {
        return jswLogFileMaxSize;
        }

    public void setJswLogFileMaxSize(String jswLogFileMaxSize)
        {
        this.jswLogFileMaxSize = jswLogFileMaxSize;
        }

    public String getJswLogFileMaxFiles()
        {
        return jswLogFileMaxFiles;
        }

    public void setJswLogFileMaxFiles(String jswLogFileMaxFiles)
        {
        this.jswLogFileMaxFiles = jswLogFileMaxFiles;
        }

    public String getInitRunLevels()
        {
        return initRunLevels;
        }

    public void setInitRunLevels(String initRunLevels)
        {
        this.initRunLevels = initRunLevels;
        }

    public String getInitStartPriority()
        {
        return initStartPriority;
        }

    public void setInitStartPriority(String initStartPriority)
        {
        this.initStartPriority = initStartPriority;
        }

    public String getInitStopPriority()
        {
        return initStopPriority;
        }

    public void setInitStopPriority(String initStopPriority)
        {
        this.initStopPriority = initStopPriority;
        }

    public String getInitUser()
        {
        return initUser;
        }

    public void setInitUser(String initUser)
        {
        this.initUser = initUser;
        }
    }
